package com.daoeping.service.impl;

import java.util.List;

import com.daoeping.dao.Bzn_questionassignedDAO;
import com.daoeping.data.Bzn_question;
import com.daoeping.data.Bzn_questionassigned;
import com.daoeping.domain.JsonData;
import com.daoeping.domain.Page;
import com.daoeping.domain.TableData;
import com.daoeping.service.Bzn_questionassignedService;

public class Bzn_questionassignedServiceImpl implements Bzn_questionassignedService{
	private Bzn_questionassignedDAO bzn_questionassignedDAO;
	
	public Bzn_questionassignedDAO getBzn_questionassignedDAO() {
		return bzn_questionassignedDAO;
	}

	public void setBzn_questionassignedDAO(
			Bzn_questionassignedDAO bzn_questionassignedDAO) {
		this.bzn_questionassignedDAO = bzn_questionassignedDAO;
	}

	@Override
	public boolean addBzn_questionassigned(Bzn_questionassigned bzn_questionassigned) {
		return bzn_questionassignedDAO.insertData(bzn_questionassigned);
	}

	@Override
	public List<Bzn_questionassigned> findBzn_questionassignedList(
			Bzn_questionassigned bzn_questionassigned) {
		return bzn_questionassignedDAO.findBzn_questionassignedList(bzn_questionassigned);
	}

	@Override
	public boolean delBzn_questionassigned(JsonData jsonData , Bzn_questionassigned bzn_questionassigned) {
		return bzn_questionassignedDAO.delBzn_questionassigned(jsonData , bzn_questionassigned);
	}

	@Override
	public JsonData findBzn_questionassignedByUser(Page page, TableData tableData , Bzn_questionassigned bzn_questionassigned) {
		return bzn_questionassignedDAO.findBzn_questionassignedByUser(page, tableData, bzn_questionassigned);
	}

	@Override
	public boolean delBzn_questionassignedByQuestionId(Bzn_question bzn_question) {
		return bzn_questionassignedDAO.delBzn_questionassignedByQuestionId(bzn_question);
	}
	

}
